home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1172 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  570 b   |  21 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 1 && _root.range == true && _root.even7 > 4)
  5.       {
  6.          _root.even7 = 6;
  7.          _root.TUTS.nextFrame();
  8.          _root.take = 7;
  9.          _root.sfx.gotoAndStop(3);
  10.       }
  11.       if(_root.micon._currentframe == 2 && _root.even7 > 2)
  12.       {
  13.          _root.even7 = 4;
  14.          _root.TUTS.nextFrame();
  15.          _root.next_dis1 = 2;
  16.          _root.next_txt1 = "ItΓÇÖs the keys to the house and my car outside";
  17.       }
  18.       _root.txt_number = 0;
  19.    }
  20. }
  21.